\begin{block}{}
  \begin{itemize}
    \item \clang{Utiliza-se o método getCursor da interface ICStatement para obter um cursor cliente.}{The method getCursor of the ICStatement interface is used to obtain a client cursor.}
    \item \clang{Se \emph{fetch size} for igual a zero os cursores criados são do tipo com cache partilhado, se \emph{fetch size} for maior que zero os cursores criados são do tipo com cache individual.}{If \emph{fetch size} is equal to zero cursors with shared cache are created, if \emph{fetch size} is greater than zero cursors with individual cache are created.}
  \end{itemize}
\end{block}

{\small
\begin{block}{}
  \begin{columns}[T]
    \begin{column}{.5\textwidth}
      {\bf \textcolor{OliveGreen}{\clang{Exemplo}{Example}}}
      \begin{semiverbatim}
ICStatement stmt = 
  (ICStatement) con.createStatement(...);
      \end{semiverbatim}
      \textcolor{OliveGreen}{\clang{Cursor Partilhado}{Shared Cursor}}
      \begin{semiverbatim}
\alert{stmt.setFetchSize(0);}
ResultSet cursor = stmt.getCursor();
      \end{semiverbatim}
      \textcolor{OliveGreen}{\clang{Cursor Individual}{Individual Cursor}}
      \begin{semiverbatim}
\alert{stmt.setFetchSize(50);}
ResultSet cursor = stmt.getCursor();
      \end{semiverbatim}
    \end{column}
    
    \begin{column}{.5\textwidth}
      {\bf \clang{Diagrama de classes}{Class diagram}}
      \includegraphics[width=.99\textwidth]{../images/model/cjdbc-class-overview}
    \end{column}
  \end{columns}
\end{block}
}
